/* margin padding lineheight 使用px作为单位 */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: "微软雅黑", sans-serif;
    font-size: 13px;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #333;
    background-color: #fff;
}

a,
a:hover {
    color: #666;
    text-decoration: none;
}

p {
    margin: 0 0 10px;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;

}

/*头部*/
#header {
    height: 50px;
    width: 100%;
    background-color: #ff841d;
    padding: 5px;

    .logo {
        float: left;
        margin-left: 5px;
        height: 50px;
        width: 75%;
        a {
            display: block;
            img {
                margin: 10px 0 0 10px;
                height: 25px;
            }
        }
    }

    .download {
        float: right;
        padding: 7px;

        a {
            display: block;
            width: 50px;

            img {
                height: 34px;
            }
        }
    }
}

/* 搜索*/
#search {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 100%;
    position: relative;

    .searchbox {
        padding: 10px;

        input {
            height: 30px;
            width: 90%;
            padding-left: 5%;
            border-radius: 15px;
            background-color: #f1f1f1;
            border: none;
            font-size: 16px;
            cursor: text;
        }
    }

    .button {
        button {
            width: 65px;
            height: 30px;
            background: #ff841d;
            border-radius: 15px;
            position: absolute;
            right: 10px;
            top: 10px;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 16px;
        }
    }
}

/*菜单*/
#menu {
    .container {
        display: border-box;
        .row {
            div {
                width: 25%;
                padding: .266667rem;
                text-align: center;
                box-sizing: border-box;

                p {
                    margin-top: 5px;
                    font-size: 12px;
                }
            }

            .col {
                float: left;
                position: relative;

                a {
                    display: block;
                    text-align: center;
                    width: 50px;
                    height: 50px;

                    img {
                        position: absolute;
                        left: .666667rem;
                        width: 50px;
                        height: 50px;
                    }
                }
            }
        }
    }
}

/*折扣推荐*/
#discount {
    background-color: #ff9000;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;

    span {
        color: #fff;
        font: bold 20px "";
        line-height: 35px;
    }

    a {
        height: 35px;
        display: block;
        float: right;
        padding: 1px 8px 3px 5px;

        img {

            width: 20px;
            height: 20px;
        }
    }
}

/*商品*/
#product {
    li {
        padding: 10px 8px;

        a {
            display: block;
            text-decoration: none;
            cursor: pointer;

            .img>img {
                width: 85px;
                height: 85px;
                padding-right: 10px;
            }

            .infoR {
                padding-left: 90px;

                .title h4 {
                    color: #333333;
                    word-break: break-all;
                    font-size: 15px;
                    line-height: 19px;
                    min-height: 57px;
                    text-align: left;
                    font-weight: normal;
                }

                .title h4>span {
                    color: #ff6c00;
                    font-style: normal;
                }

                .other {
                    span {
                        color: #666666
                    }

                    i {
                        float: right;
                    }
                }
            }
        }

        a:hover {
            text-decoration: none;
        }
    }
}

